package com.carrental.service;

import com.carrental.dao.AdminUserDao;
import com.carrental.entity.AdminUser;

//逻辑处理
public class AdminUserService {
	
	AdminUserDao adminUserDao;
	
	public AdminUserService() throws Exception {
		adminUserDao = new AdminUserDao();
	}
	
	//查询管理员
	public AdminUser selectByNamePwd(String username, String pwd) throws Exception {
		return adminUserDao.selectByNamePwd(username, pwd);
	}
	
}
